package com.tangding.log.impl;

import org.springframework.stereotype.Component;

import com.tangding.common.utils.JacksonUtil;
import com.tangding.log.LogMatcher;

/**
 * @description 
 *
 * @author Ranger
 * @version 2017年12月20日_下午5:36:41
 *
 */
@Component
public class SettingsLimitLog extends LogMatcher {
	
	@Override
	public String cmdDisplay(String cmd, Object... args) {
		Object[] as = (Object[])(args[0]);
		String maxLimit = JacksonUtil.get(as[0], "maxLimit", true);
		String autoAddCount = JacksonUtil.get(as[0], "robotAutoAddCount", true);
		return "设置天花板为：" + maxLimit + "\r\n设置自动补充机器人出发数量为：" + autoAddCount;
	}
}
